import { DefaultTheme } from "vitepress";

const alg: DefaultTheme.SidebarItem[] = [{
  text: 'LeetCode算法',
  link: '/alg',
  items:
    [
      {text: '数据结构', link: '/alg/data-structure'},
      {text: '合并两个有序链表', link: '/alg/merge-two-sorted-lists'},
      {text: '只出现一次的数字', link: '/alg/single-number'},
      {text: '环形链表', link: '/alg/linked-list-cycle'},
      {text: '多数元素', link: '/alg/majority-element'},
      {text: '反转链表', link: '/alg/reverse-linked-list'},
      {text: '移动零', link: '/alg/move-zeroes'},
      {text: '二叉树的层序遍历', link: '/alg/binary-tree-level-order-traversal'},
      {text: '找到所有数组中消失的数字', link: '/alg/find-all-numbers-disappeared-in-an-array'},
      {text: '汉明距离', link: '/alg/hamming-distance'},
      {text: '二分查找', link: '/alg/base-search'},
      {text: '基本排序算法', link: '/alg/base-sort'},
      {text: '有效括号', link: '/alg/valid-parentheses'},
    ]
}]

export default alg;
